<!-- 创建知识库 -->
<script>
  function fetchFn(name) {
    let n = "备用" + name.padStart(3, "0")
    console.log(n);
    var obj = { "name": n, "stack_id": 30322246, "user_id": 38939272, "public": 1, "extend_private": 0, "type": "Book", "book_icon": { "type": "url", "symbol": "book-type-reports" } }
    fetch('https://www.yuque.com/api/books', {
      method: "POST",
      body: JSON.stringify(obj),
      headers: {
        'Content-Type': 'application/json',
        "X-Requested-With": "XMLHttpRequest",
        "X-Csrf-Token": "QR90aiDXJCFgS5cmEDFYxHRR",
        "Cookie": "lang=zh-cn; _yuque_session=jK7lMKFZjjeZOJbSP_HaX8WnzJllYdAzGS7mxLuoq8PJAJ7yStKSAK8UXiUxAERg1BIj_fCv7llwZlYyxF7h4A==; _uab_collina=169415685355853476804513; ext_pgvwcount=-0.1; acw_tc=0bca316216944226956117804e38f9b8c0d0c75247c049f730269c3e3b696f; yuque_ctoken=QR90aiDXJCFgS5cmEDFYxHRR;"
      }
    })
  }

  Array(918143).fill().forEach(function (item, index) {
    (function (i) {
      setTimeout(() => {
        fetchFn(i + 18157 + "")
      }, 40 * i);
    })(index)
  })
</script>

<!-- 复制文档到知识库 -->
<script>
  function fetchFn(id) {
    let data = {
      "batch_action": "batchCopy",
      "node_uuids": ["d0yn5av3Jn81q7vH", "jz_L-779TVz5B7uL", "CUbyQDUDqGq0wBOZ", "lBpcIQ_OjwihhHZ6", "gn_MtcFFE3rG5Ao2", "vpTMxTLeEcTT2CYE", "QXhpkZRVOs_QuTaz", "13-ZfLFl7xD2s0Pc", "XNCwBd5ESSwPwLZx", "bCphOrfZ_omNLRdi", "fsNobK04dPbByHjx", "zURSuyfKjmNYrXh9", "YqDmYulFgPlc8UX1", "Lj8DGoZJ7hbJGlgh", "1AxFLqrT19cqGyY3", "T4tck_0ctcn7U8yk", "zzRC4O4Z_676tp45", "60hmtOKLrLFWXQ-A", "YS0SapQ-jqJGfiii", "nvhM2tz8hFVEHpmK", "sijEnnXjtmWe8MG4", "UgqnMCpRSmuE0zXl", "c7ngbzIItaHJBkQ4", "_GbdWCdnauEZp3QS", "WEbT0TilbKMploFP", "bMfnBDc40sdipK0I", "YhRsYMDhur6hdP0R", "k1Qz6wmMRbk-_PUI", "pi2Wtpu6i9Xq90wp", "L6P9c7x_pGpCi7vg", "uUzlmqCdf7RBFOw3", "1_n8mSey5pRtbmHt", "xSvUc9A6RyGBpUW5", "3d5GRKbZFJEnOSYt", "lQbE079M8NsYWWx1", "G8mnUMlnkcz9RLAj", "Q_MB4dB8kJJRYTUF", "uo13yfpVJLzt9id4", "bkkX0xgB82xQWpQ4", "tY7hg7h9B4tZSSs9", "8pRydvu78zhCXSOt", "f3UsUiDsFEnT74pH", "y_IySEJ7qboyxdwc", "dO2Cqmo_yyxaTRpk", "pouv-5bZAWxT2agY", "e-IART9ym1JHy7dq", "6N0rFczFXMmyngeJ", "p7xfYOEuc193ybgJ", "2Px5m4-UcW5pQGwo", "_FjkiG4PFqkAP7p_", "rXAFDQfK5ojPhPpI", "OxtvNhSE9heGgLQn", "lVkAg8CrjK9lAhDd", "nVmAEwTN82hhNxQW", "LdmwE5FTnwW80H9a", "bdPvRBC0mZnuosGA", "NFG2avRumtiOMITe", "TuPv5QyS46mwoY2v", "bxLhMGsocNAHFoLk", "StAWJAUUHFsiJBFA", "eri57Yo0MNOKIjiU", "tE9yzX8X2sWgWoVc", "IDtTvpk6489yr8WE", "GOZPYmLbhx7OgIcg", "NS5qjy5KPO-PazyM", "sI4eYyl_U1CDx20F", "w5JSq7dBl3QCvbuP", "o6OpKrnU8CVUvIZ0", "HzhrVB58Iv3G0leh", "OP_ygDgwiaYmq05M", "4pWFm7sp3UTl4Gpm", "SMlZkwKIRTS3xemy", "l8onwJhzJm257Lbn", "bo4fi0rb-KVPnK-k", "efkopAXrm2Kz7ei3", "TVJAvAllrhQkpSF8", "DCWPxJsIRa3NkmCh", "XO-mXFDS36YQCmzu", "_AAQH42bXh3SHwmO", "M4NrRXYYHsTFiiOa", "rE9TJldqJkDy0yYz", "CzZ_wiX2uo1U_MQU", "OuhtOnT6wAbghWyS", "O3qlIQ-l7WtGWcCv", "b8RgIrcduMWGBNXH", "3pmpkJNLK5uqUvZy", "bVrAyuHVTxyvFUfy", "skAwIslraXPNr8v_", "-uxaIDtM-EqljNZ8", "MvD16V9ZXcXz9nG3", "ZFnGbpND7exPVwQb", "1rtqLLr66mpCjUUb", "EFUw2pu5RpUzr5zK", "qsLJSfzrc_KPqT9g", "435assFY3Qdnj251", "3gycFLcS14wsP0Ct", "T3pRCKVAyCnCBlNW", "FdD6Lf2bq7uvVtGH", "svGacHUf4SB7iuVF", "BQ5k9ySVgmwraCCt", "VFXluWk0ZCPIcL0K", "GWe-ah3-GYeOwSnq", "Kg6TiQMz4t0_3Ll7", "ksu8AxWT9VeOos5o", "ZHFgk0BOXKIg541O", "iwRuCwIHVDMkqxq-", "lJkXLgj0W3wGWLUL", "eJKDhYF89aUoV9LT", "9B4mxKlZiKxq_i2L", "Y_cFqWWvI1gXJWdn", "rfrhf78skKCbJlnC", "i9YlAZOmOxEVWglY", "f8g4S4aZacGciVtx", "_VguPZx70BSUm8V1", "Cd6j1mVA161oXa2G", "8Zu_t38VZkT-jJn5", "AQ7ydQJJvONyUiuU", "CWvTIQWXNfvIZ4Dm", "w9X28Sq-GfqX2xiI", "LBk2cyv97gQoJ9up", "ucsQoWWTItureeO4", "WE_Q4JZsg0XBy8BJ", "nP2aMfYOFtugFdLn", "u6hdywC6QyxgNij9", "PXvrBGSSoe_p_1Ea", "f3fHKgFdFmatXCns", "8zbUygd5cSMT7XNc", "b-YqGuu1GBTNyKgB", "6CDIg3R4xM1UMpcY", "fOOtJyhhz_yee0Os", "VGpUEZVswPWdKPoA", "G0I70SrnGHmbhM4H", "MJQ9bb0WgvfoV3mp", "W2Edb8amC80Nihvt", "xW3vY9GOFqKEnb6f", "xqvq1Hm-qV2YLSna", "5MaMnti8fgpoHeo4", "Jm_0zHiu65AQPR-E", "W9wJ9zBXOJzmwCBT", "p-IQx1QQggYwKGgX", "PE2aUDo90sisJPxG", "FODnZ9vEYoN8ie7f", "YdvjvDJdqG5D1Hv9", "exn4ZeyE-AYrtaYV", "TlnL9cswm1kVg0gl", "MwvfsQUnLeMQU7ho", "Ib7yqgkbEpeLIpHU", "OfM0r1dEHo6NwZFf", "x0LU2QVIntAgVOJy", "l-7imK65q6aShU0K", "w9wip0nLvo1G3H8B", "mGnASXCf4zlkzurO", "1m6n031WKVCJxCLu", "NTuMSQO4ITuwrHR0", "pIDV3Pzsvv568SqM", "9wZiEBwr7wGtoRBa", "tzvcFDyNA7C6nu8-", "y9iE-aB77CgbHwrS", "VJtomMrvCK4uc39W", "MrDpF-mcGOTyjRLT", "LmfvWQPaMkqA1Uul", "NSYwhQo-b2Ymm_F3", "F9v1S65cP3Mlnr4X", "fHYB1yy86DHn3_11", "nfPmqRxu0eb-gvOw", "fZbk31u9t-i9zIya", "EPiFU4kMg2q_MPCy", "bCUDjHMfO8dkT5Jk", "4AoMfSSK6KgSDHTt", "eFFUFJfijN9YHWHH", "wRIeOzbeS1x9Z7cW", "u2_2yWhgcy19qAZU", "YTXr_UtyCt2zkFn8", "9zzHds947-MOJKJJ", "mcKabwi79OWIA9IL", "VbR427sXoquksYdR", "Qpd4fYDCrX72WNRJ", "WZ6hAhqYrq1e5-ei", "FsJbCknC-Xw7AUwg", "9Km2nt9wJX08PZfO", "tvjdmlwtlzJAHykt", "PmwtcP10gMl8xFMH", "A-M8xsl1NIn72g9S", "DXP53dwus0M2-MRl", "Oq14PNMbaJhVQGrW", "zmdn3PMPeKcqwxuW", "quBqTb3aADF6VSvU", "4V3LZtyTc4Eew6zX", "xQyC8c0A1PlDkJ83", "HX0Q5GgDYyR1-lM8", "tltLp9QXQBOk6A0q", "u560I5EhCC8FuNHA", "vJxVj4ukm1fqiRvF", "KJ-a3e6k3NEjN6AB", "uC9UM3DMxrGBLVsW", "ZgbpqxMkfjJXSUcP", "7APsxu5WY7vn-tPg", "-1AgbrdbLtxsZ1e-", "TwV4vAkCJLqBOfGk", "OSroWdol0xrX9dQE", "cz6JCyCEGgS_6F2q", "brJFMtBztkSBJz8r", "rRlzsSKqUi0f0td8", "uWEa1hbFAk00Tcm5", "8-6JnqOUkZ5iF0iI", "WbF-HkIW2rNo4YV3", "ZXQ-B8wC4FlpDBUu", "dLfUIpdgPMY9xFOr", "hm2f7FMuxuxsXydY", "K7b--ALhdFJ4P1LU", "5EeSAlgZYgSqHYzu", "luRzxakDlkBQHn3Q", "rMzcnomplEu3mKty", "fuylifvhUGhM-yYn", "1MhoAE1E0Uej_AnH", "IrEyf0FQpZIaOBR7", "QoLQpDt_MN8TAFfB", "QRRnjllt1g2Ii18l", "-E0qjfYhvqG4JraN", "Gm2ZiEfJaOuXQCe7", "XpFbwpev4eaKxiqY", "faLwu6e3iBpvNcci", "z9xPpRowUBTmXgUK", "cpLzP80W3c8nlJFb", "6pvjCzL7zrMsaz34", "LXZJfX4nRdDQfbNn", "WUwC3Qx44IByAZ0G", "DQE1-ZERNsnAXTe9", "V7zJjNXK3mZhWnpz", "IH19mnlggtHMUAZk", "k_P-nhLk7mAZh1Sf", "JLq-u2rq2r0TMHvw", "bDQrzdkTtcVTjYQe", "PqiGZQKMuJiU7U8Q", "yu2t8BxMWj6R26wh", "9ByneRGViRt0lmms", "XWYBjGqs2PUPWU49", "vrBRIPDsBcuw9XaQ", "sPP09s1AN17kLxnR", "jPBSri9WCsD7c_ez", "2coeCgfK3Pn6RvST", "7-XZLvpYVeGWcLY7", "GVbnkI5MXAbHnvtE", "eWD-h508Ing_B6ms", "6mgFl0KgA_3fW-D-", "swu4TOOp4ZNcjVpF", "79ZoLvNlB5S0ZWZ6", "dH-5l2Pzv2y15xcg", "QSmwxnw3jEMA-ZkU", "k_7A63vLqwJ87wFp", "1RgDEhR3YSl_0GZ_", "rN-aeDQ0RJk8LZqS", "N7TPIZfNL1l2ho0D", "NY_c8LC2i_pIiE5u", "iI_7YFqJJ0_5tuby", "GD1aq91QiWrgHTB4", "5Z04H6PQUWn9Gem6", "jjZR5_9fZKKkBK0-", "IVpLdKR1vM5iea8A", "71YaAAcJjxkAPUSO", "LyL5Q4SOYXr8y8ts", "3P6VaG6T96mbmdl7", "hrYgwlF-v225ACBc", "mVnfmbdwz3Kfvl9N", "5ZMtmXqq3NGS3XOv", "6v9WQ_KFUv6tAqNA", "10KfJGIlk8_05WyQ", "r5UCrEu_tHv8Udq5", "mRajGHZ2NKFupqKZ", "Grat_8e5j_SLQycA", "SnmmynKTkOXjG3K0", "NHdQ1_hH9reHIZeU", "b3qgVjsGsp5qSQZ-", "jQiq7Rg1reuGYYHp", "0UaP9ApNAQgG-yqA", "CjvFYvZnQ73yjiTp", "LV3JeuWMKspUV03V", "ruOZ9e1clDXQMs7x", "RYGDA1Gk3_BB5YWE", "vOqBxhDJOT644GJR", "vYOSprCERNjYHelE", "MR4tTZa-Op0_q-EO", "8m6En-USo9sS-iEQ", "Um1cmnsDRwAOzcTS", "ouxzF6cyxHYLY-Mq", "6sNO-0xiprYM16NH", "Zu07K6sofE7m90r_", "h19BqSYKyKWtBG4f", "z_AhW6hsrkfcp0BP", "EFABNedspYuvpsqk", "XjAN0IlFNYdMuaUZ", "jlhc2eP1Zt8BLNgz", "4Hm-eH0X3zIV_mfa", "Osc0-geJq__k7anr", "AXwNUJY0imhULHJE", "vdAoWcY18r42-iDH", "dpGpkt1_AynnSZTj", "N5NQEkh7Ay868S1u", "9yHetnw4sGeaP0Q6", "hob7CS7RO8YYLxon", "MhyBuR2IS5HFldqA", "v1PrP4mJ1TNRbzmH", "nDNxnv7T6Q5iajkD", "Ymv47ZMG9YK1Y5xK", "A-5IUBUzoKRVELgc", "P-HnR9DhPNAZduIZ", "yOe4VVbMi73iEGeq", "0r514uHmr5k8hUgw", "6GS2Wy2xIWZtIT5E", "75GtbL_qDhaS36P7", "Zb--nCr_sl28eB1n", "ygwpktmf8FA8_ebQ", "FMifNe5XsNQvV3QR", "AIatJt6QdcbWHZl8", "CkwIk5BpjQEg5478", "aeD2tgyX1RZL_2tk", "V16josGN7_t3hMcd", "EVmZf_fpqhu2sM8n", "gm2A40CzjLooIULZ", "2hWRXBFCUPFGNsNM", "li-8qpGb1t9Ub-jA", "JLA7TEs0rSDyx-MK", "8xHPlnzQunlX7LLY", "BIJj4gv-bx1aV_LW", "-o_uImNGVs4QrCMl", "2wfoQzjkaKM8fyNG", "rz_wJMAg6cb8UCQB", "YaJSjLtGZyDfZxgc", "jpMP0l5Rr8D-VImQ", "3NlKGjeOF6efX6Hj", "AQWDznWDqhma6crc", "xOL1pe3UepwVwRnb", "EcyBov6avBh7dmGe", "W855AYHrw-59_vu2", "rHBkTOXWiRz9P1QG", "lfKsvLzTSZBgUJxQ", "jj3_vMu2UpqIBPHa", "lfYxQ0sXGpzDM-1O", "etkneILw98mPTIWs", "p6M-mtV4WXHYbDMs", "LoZfayhWGewDByiz", "04aFniYgay0noSgD", "C1p4YqpqDm2yZBeG", "bkfiH9tv6eTmf4zp", "RHXQOQbv8_1hzQAm", "eKVYgpKn7iOgfQvv", "JJ9zi-Al3D5_GTVo", "Z0IFaP3e9ltnMMMh", "I_vu2PHoYjaOWqjF", "dVw_eCEL_ZaySLSc", "JL17NhoxmabbUBfD", "x_apOndn8JRUV1CR", "K1l7ZOqjQskic70F", "l7YS0xXr5KRUNX6q", "nAJxNGibd2ILqYhN", "4iok9pblhajvL4Hu", "iXjLbEyS4PKpL4q_", "xxJKYzvfCFFu4Jb2", "4F0D0SL8pUlwE6X-", "mkIQH2xhfyOl36w_", "MYUNSgD8_zdcZLjQ", "1BqZevgIAV0orOFy", "5CzyIahHGvHLszJ0", "nEIf0q8wtpDowlec", "PSlgcxM3HXAQ9Kob", "QMlPWwJFdsKTW7pa", "Wp6-okL96lde6h1e", "sbakBX2VBs2AVQvi", "H7KlqJ1KYYfl5K6j", "jlndMhdzuZBon9cw", "dzrT61HYWv-1Wl6O", "6WYKjimrLEAQEJdT", "wLOztaH7ws6f7WXg", "bRoF55lgHoNLFLwS", "_AiqYKEJNNOkYQan", "Q__Bdn2dUFaoeY81", "tvl_Nv_CvQQy6rPb", "NzhsalLT_ElJfXgn", "uXOpgTapHC0F4H1b", "U_2x-Us8N3VFtOU8", "XWrkRcvQ1qtchfvn", "lmT-7TvhX9JeQnfq", "A_4HfVcFCEFc52X1", "VGVzuhkw3cQXB7pB", "yNkdD2ETaAyW4Zif", "tRPqMo52QWG7j0Ym", "4M44NDpF9ipctyh2", "iJWcwQvoyN4Pnh10", "wme377nEXTakBn4w", "x1PPJfUkjresE5PJ", "mZWQWa8Wlqw3GfSd", "7jyFmiwBwenCYAdB", "QF4M5MSZpW8ARW93", "LaEIBzKqT6s7qlkD", "70VGL7Ode-I1dE3N", "qw8YSbS3UoRrGbFZ", "ii78iuWSRZDqHdGG", "2YHU8eIR5KivnU10", "K557zgPG6oY58YKG", "F-B5zXyst8ZnGs3S", "9sHCGHLaEY5N7dwC", "anA_5QUegYHTXW_I", "196NXV_juQNp6pn5", "X_zUx-PCZBi3_7nu", "avEuFx-lUg8p2FDF", "rg3ShXP0Jq5gGxWw", "PdO13hXMQ-saX4Os", "Sm3EtSPTmf2T2RLG", "LXBDby-Uwr7-EFI1", "Rs72TK5nW5zxEqLh", "GNlEa2Px1cybHc6-", "ASB-pRf0sKfHGpGu", "gFYOSDGa3ON6LUwX", "z6pPp7Mb1flIgbm2", "KRbJL8YT25_9-23i", "W5jl_Q4Kfv9l2erC", "Ch3KqwWzvrA44SWo", "7gh0a-mPz_TnD0k9", "ZGnOIjMGuBxYK5c3", "JuMlluzEreFgsfEx", "EO2viZKSDWznlVZw", "27lrrLUzDwmgwzfg", "35ONcU6ecbXqkVZl", "K1Pl9UzbY7jP9D-A", "tVA8XzoX3Tlb1sT0", "54iW9mw-AqY36UdK", "gEkxb8UVVc5PMNzU", "TfyN7EfK52tKWCIp", "aIjhqX27IsUjFcJE", "xH1vEfzTs6jpIXi1", "K_eORUxhgh0CW0Bo", "kUyofQgA4qswPG1v", "Du_950r8gYjB7G1m", "lLmAcoEIyROrDaWA", "fLwmUjSM81nD8e3a", "Cv2dLYW5589AvRPO", "vGxFIF0-Qgar5ZQo", "yAQV7J-AktNq7DV5", "URol00b5KH_UEmDH", "AKStb-vGXDdNJHf-", "MObMJFibpf9ISLoR", "ufCRh-lulVvpLiX6", "j8VfDY9849AjsMcq", "gLiSvhhoH2qIu2jj", "dgtG3Po9tzOFt4jS", "jtk5kvMU64MuptQQ", "3dBxJQ1v7_IZpioj", "GtaZlDTbuqpiwSaj", "g8Zj_nEfu1CqURzQ", "hjQ114-VbCE453xG", "hAjd3Y1Igiw3uIZ_", "Uak4YhNKxMAVUBX_", "3QT7WKgY1KFc9Th7", "htUARwhz7mUwgpYa", "pnhvLF3b61n4kRHk", "q5Ivy34UtFvaRZKd", "h074qV0n56odBNsj", "DVH96lNv6FwLTqJk", "2W0PuP1-TbiHkrSp", "vQ2KhahIZAHePeNg", "iUikpJmKaNUUeRJb", "CmLi62lAy6cMiD_t", "5u7KZJAzLg_yV_Ek", "lHl9yS92UyFnwO4f", "_inQCrRTHzCUudEi", "OZZeGF3aGh1EHFKC", "Docnz735_1kKTJbV", "5Gaggm5oUKRpuLH-", "T-mu5uXGW-3qN3js", "jP5ark_8ZPt7mBCM", "M9SvywW-QSBunMhe", "8_fux89s_ANKhNXW", "BxQmRfyNbIdANhv6", "CZ1S5zdvBoYCdxzA", "hh3LTghq5a7y8l5o", "H6AGqArZ9Bd0E1CG", "eg1Hry_4tQU8X0kH", "YtyJ1v699AgDzuik", "Cv4VE44bT0FTiOoN", "nIfPsGDyRo-tk99l", "7GkzNokUJNVsNA5d", "KKwUev_xyfUpAC_f", "VyoJjOUAC5ad3p0-", "HVEsdpI9uasuxDvi", "kbNx-3aTZCfOua4L", "QzK96XzMJ5GSQ_7g", "fdyZYnMhrH8c5yMz", "t2DQxZvPAwvrYgEg", "0SD9EFnZgqhQtCPh", "ym_9TDyyTl5qjiA3"],
      "target_uuid": null,
      "transfer_action": "prependChild",
      "book_id": 41821310,
      "target_book_id": id,
      "insert_to_catalog": true
    }

    fetch('https://www.yuque.com/api/catalog_nodes/batch', {
      method: "PUT",
      body: JSON.stringify(data),
      headers: {
        'Content-Type': 'application/json',
        "X-Csrf-Token": "ok3rV27VVHren9SLljHiLVB1",
        "X-Csrf-Token": "6lqtrHph-j1aV-5ZwPPVcIBe",
        "Cookie": "lang=zh-cn; _yuque_session=jK7lMKFZjjeZOJbSP_HaX8WnzJllYdAzGS7mxLuoq8PJAJ7yStKSAK8UXiUxAERg1BIj_fCv7llwZlYyxF7h4A==; _uab_collina=169415685355853476804513; yuque_ctoken=6lqtrHph-j1aV-5ZwPPVcIBe; current_theme=default; acw_tc=0bca316216944152065224984e38fb00a3cfc1b34204e8c77730e3e45d3ba7"

      }
    })
  }
  obj.data.reverse().forEach(function (item, index) {
    (function (i) {
      setTimeout(() => {
        fetchFn(item.id)
      }, 10000 * i);
    })(index)
  })
</script>



<script>
  // 获取个人知识库
  fetch(' https://www.yuque.com/api/mine/personal_books?offset=000&limit=2000&query=', {
    method: "GET",
    headers: {
      'Content-Type': 'application/json',
      "X-Requested-With": "XMLHttpRequest",
      "X-Csrf-Token": "6lqtrHph-j1aV-5ZwPPVcIBe",
      "Cookie": "lang=zh-cn; _yuque_session=jK7lMKFZjjeZOJbSP_HaX8WnzJllYdAzGS7mxLuoq8PJAJ7yStKSAK8UXiUxAERg1BIj_fCv7llwZlYyxF7h4A==; _uab_collina=169415685355853476804513; yuque_ctoken=6lqtrHph-j1aV-5ZwPPVcIBe; current_theme=default; acw_tc=0bca316216944152065224984e38fb00a3cfc1b34204e8c77730e3e45d3ba7"
    }
  })
</script>

<!-- 修改设置的url的设置 /settings/basic-->
<script>
  function fetchFn(id, name) {
    let data = {
      "user_id": 38939272,
      "slug": "a" + name,
      "name": "备用" + name,
      "description": "",
      "cover": "https://cdn.nlark.com/yuque/0/2023/png/38939272/1694416643593-0c88f4c3-f33a-4309-9590-cd3d08333187.png",
      "book_icon": { "type": "url", "symbol": "book-type-reports" }
    }

    return fetch(' https://www.yuque.com/api/books/' + id, {
      method: "PUT",
      body: JSON.stringify(data),
      headers: {
        'Content-Type': 'application/json',
        "X-Requested-With": "XMLHttpRequest",
        "X-Csrf-Token": "6lqtrHph-j1aV-5ZwPPVcIBe",
        "Cookie": "lang=zh-cn; _yuque_session=jK7lMKFZjjeZOJbSP_HaX8WnzJllYdAzGS7mxLuoq8PJAJ7yStKSAK8UXiUxAERg1BIj_fCv7llwZlYyxF7h4A==; _uab_collina=169415685355853476804513; yuque_ctoken=6lqtrHph-j1aV-5ZwPPVcIBe; current_theme=default; acw_tc=0bca316216944152065224984e38fb00a3cfc1b34204e8c77730e3e45d3ba7"
      }
    })
  }
  var reg1 = /[\u4e00-\u9fa5]*[0]*(\d*)/
  obj.data.forEach(function (item, index) {
    var name = reg1.exec(item.name)
    var aaaa = name ? name[1] : undefined
    console.log(aaaa);
    (function (i) {
      setTimeout(async () => {
        let reps = await fetchFn(item.id, aaaa)
        console.log(reps, reps.json());
      }, 100 * i);
    })(index)
  })
</script>